<script setup lang="ts">
</script>

<template>
  <router-view></router-view>
</template>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#app {
  width: 100%;
  height: 100%;
}

/* 修复 ant-design-vue 表格样式 */
.ant-table-wrapper {
  width: 100%;
}

.ant-table {
  width: 100%;
}

.ant-table-container {
  width: 100%;
}

.ant-table-body {
  width: 100%;
}

/* 修复 ant-design-vue 表单样式 */
.ant-form {
  width: 100%;
}

.ant-form-inline {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

.ant-form-inline .ant-form-item {
  width: auto;
  margin-right: 0;
  margin-bottom: 0;
}

.ant-form-inline .ant-form-item-label {
  padding-right: 4px;
}

.ant-form-inline .ant-form-item-control {
  margin-right: 0;
}

/* 修复 ant-design-vue 按钮样式 */
.ant-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
</style>
